package arithmetic;

/**
 * @Author: DengJia
 * @Date: 2022/1/24 17:56
 * @Description: 位操作
 */

public class BitManipulation {
    public static void main(String[] args) {
        char c1 = 'A';
        char c2 = ' ';
        char c3 = 'A' | ' ';

        System.out.println(c1);
        System.out.println(c2);
        System.out.println(c3);

        System.out.println(Long.MAX_VALUE - 10);

//        int n = 1;
//        n = -~n;
//        System.out.println(n);
//        n = ~-n;
//        System.out.println(n);
    }
}
